/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Builder;

/**
 *
 * @author Jenny Patrick
 */
public class Builder{
    
     public static Auto getAuto(){
        Auto auto = new AutoMercedes();
        Motor motor = new MotorSubaru();
        auto.setMotor(motor);
        return auto;
    }
}
